﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Finance.Treasuries.Payments.Repositories
{
    public interface IPaymentRequisitionLinkRepository : IRepository<PaymentRequisitionLink>
    {
        Task<long> GetCountAsync(Guid? requisitionId, Guid? paymentId, CancellationToken cancellationToken = default(CancellationToken));

        Task<List<PaymentRequisitionLink>> GetListAsync(Guid? requisitionId, Guid? paymentId, CancellationToken cancellationToken = default(CancellationToken));
    }
}
